/* 30-1 清除浮动 */
.clearfix:before,.container:after{content: "";display: table;}
.clearfix:after{clear: both;}
/* IE 6/7 */
.clearfix{zoom: 1;}

/* 跨浏览器设置透明度 */
.transparent{
	filter:alpha(opacity:50); /* IE */
	-khtml-opacity:0.5; /* old Safari */
	-moz-opacity:0.5; /* Mozilla,Netscape */
	opacity:0.5; /* fx,Safari,Opera */ 
}

/* 设置圆角 */
#container{
	-webkit-border-radius:4px 3px 6px 10x;
	-moz-border-radius:4px 3px 6px 10px;
	-o-border-radius:4px 3px 6px 10px;
	border-radius: 4px 3px 6px 10px;
}

/* css 字体属性的简写 */
body{
	font: font-style font-variant font-weight font-size line-height font-family;
}

/* 自定义文本选择的高亮效果 */
::selection {background: #e2eae2;}
::-moz-selection {background: #e2eae2;}
::-webkit-selection:{background: #e2eae2;}

/* 锚链接伪类的设置 */
a:link{color: blue;}
a:visited{color: purple;}
a:hover{color: red;}
a:active{color: yellow;}

/* 垂直居中内容 */
.container{
	min-height: 6.5em;
	display: table-cell;
	vertical-align: middle;
}